/**
 * 
 */
package com.demo2do.boyle.client.handler.impl;

import com.demo2do.boyle.client.handler.WechatAuthHandler;
import com.demo2do.core.entity.Result;

/**
 * @author lute, Wilson
 *
 */
public class WechatAuthHandlerMockImpl implements WechatAuthHandler {

    /*
     * (non-Javadoc)
     * 
     * @see com.demo2do.boyle.client.handler.WechatAuthHandler#exchangeAuthenticateAccessToken(java.lang.String)
     */
    public Result exchangeAuthenticateAccessToken(String code) {

        Result result = new Result();

        result.success().data("openid", "MOCK_OPEN_ID");

        return result;
    }

}
